function [ dataVals ] = downsampleAggressive( dataVals, downThreshold )
%UNTITLED2 Summary of this function goes here
%   Detailed explanation goes here

dataLength = length(dataVals);
i = 1;

while (dataLength / (i + 1)) > downThreshold
    i = i + 1;
end

dataVals = downsample(dataVals, i);

valsToRemove = length(dataVals) - downThreshold;

% Pics random values in the curve to remove
idx = randi([2, length(dataVals(:, 1)) - 1], 1, valsToRemove);

dataVals(idx, :) = [];


end

